package com.mxpio.erp.equipment.service.impl;

import com.mxpio.erp.common.equipment.entity.EquipmentUpkeepTaskProgress;
import com.mxpio.erp.common.equipment.service.EquipmentUpkeepTaskProgressService;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.jpa.query.Operator;
import com.mxpioframework.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EquipmentUpkeepTaskProgressServiceImpl extends BaseServiceImpl<EquipmentUpkeepTaskProgress> implements EquipmentUpkeepTaskProgressService {



	@Override
	public List<EquipmentUpkeepTaskProgress> selectByMainId(String mainId) {
		Criteria c = Criteria.create().addCriterion("bizNo", Operator.EQ, mainId);
		return list(EquipmentUpkeepTaskProgress.class,c);
	}
}
